﻿using System.ComponentModel.DataAnnotations;
using System;
using System.Collections.Generic;
namespace XSTDZ.ERP.Application.DataContracts
{
    /// <summary>
    /// 损溢报告DTO
    /// </summary>
    [Serializable]
    public class ProfitAndLossBillDto
    {
        public Guid Id { get; set; }

        [Display(Name = "盈亏单号")]
        [Required(ErrorMessage = "请输入{0}!")]
        public string ProfitAndLossNo { get; set; }
        [Display(Name = "库房")]
        [Required(ErrorMessage = "请输入{0}!")]
        public System.Guid StorehouseID { get; set; }
        [Display(Name = "审核状态")]
        [Required(ErrorMessage = "请输入{0}!")]
        public int CheckState { get; set; }
        [Display(Name = "审核人")]
        public Nullable<System.Guid> CheckorID { get; set; }
         [Display(Name = "审核时间")]
        public Nullable<System.DateTime> CheckTime { get; set; }
        [Display(Name = "单子状态")]
        public int BillState { get; set; }
        [Display(Name = "是否结算")]
        public int IsSettle { get; set; }
        [Display(Name = "删除状态")]
        public int Deleted { get; set; }
        public System.Guid CreateID { get; set; }
        public System.DateTime CreateTime { get; set; }
        public Nullable<System.Guid> UpdateID { get; set; }
        public Nullable<System.DateTime> UpdateDate { get; set; }
         [Display(Name = "备注：")]
        public string Remarks { get; set; }



         public string CheckStateName { get; set; }//审核状态
         public string DeleteState { get; set; }//删除状态
         public string SettleState { get; set; }//结算状态
         public string StorehouseName { get; set; }//仓库名称
         public string CheckorName { get; set; }//审核人
    }
}
